package com.mars.basic.client.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Marvrick
 */
@RestController
@RequestMapping("/my")
public class MyTestController {
    @RequestMapping(value = "/test1",name = "测试一")
    public String hello1() {
        return "hello1";
    }

    @RequestMapping(value = "/test2",name = "测试二")
    public String hello2() {
        return "hello2";
    }

    @RequestMapping("/test3")
    public String hello3() {
        return "hello3";
    }

    @RequestMapping("/test4")
    public String hello4() {
        return "hello4";
    }
}
